package com.xjh.basestudy.designmode.createMode.createMode3_FactoryMethod.p3_factory;

import com.xjh.basestudy.designmode.createMode.createMode3_FactoryMethod.p1_original.Enemy;

/**
 * @author XuJianHua
 * @date 2022-09-22 16:06:34
 * @description  新敌人：大boss
 */
public class Boss extends Enemy {

    public Boss(int x, int y){
        super(x, y);
    }

    @Override
    public void show() {
        System.out.println("Boss出现坐标：" + x + "," + y);
        System.out.println("Boss向玩家发起攻击……");
    }

}